<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>

<f:view>
<h:form id="form01">
	<f:loadBundle var="msg" basename="#{statWizard.resourceBundleName}" />
					
	<h:dataTable id="abonentServicesTable" value="#{statWizard.abonentServices}" var="service">   
		<h:column>
    		<f:facet name="header">
      			<h:outputText  value="#{msg.service}"/>
    		</f:facet>
     		<h:commandLink value="#{service.name}" actionListener="#{statWizard.refreshSelectedServiceName}" action="showDetails">     		     			     		     			     							     			
     		</h:commandLink>
  		</h:column>
		<h:column>
    		<f:facet name="header">
      			<h:outputText  value="#{msg.plan}"/>
    		</f:facet>
     		<h:outputText value="#{service.tariffPlan}"/>
  		</h:column>
		<h:column>
    		<f:facet name="header">
      			<h:outputText  value="#{msg.connectionDate}"/>
    		</f:facet>
     		<h:outputText value="#{service.connectionDate}"/>
  		</h:column>  		  		
		<h:column>
    		<f:facet name="header">
      			<h:outputText  value="#{msg.adress}"/>
    		</f:facet>
     		<h:outputText value="#{service.address}"/>
  		</h:column>  		
	</h:dataTable> 
							
</h:form>	
</f:view>